package com.baobao.service;

import com.baobao.domain.Bbevent;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for Bbevent entities
 * 
 */
public interface BbeventService {

	/**
	 * Delete an existing Bbevent entity
	 * 
	 */
	public void deleteBbevent(Bbevent bbevent);

	/**
	 * Save an existing Bbevent entity
	 * 
	 */
	public void saveBbevent(Bbevent bbevent_1);

	/**
	 * Load an existing Bbevent entity
	 * 
	 */
	public Set<Bbevent> loadBbevents();

	/**
	 * Return a count of all Bbevent entity
	 * 
	 */
	public Integer countBbevents();

	/**
	 */
	public Bbevent findBbeventByPrimaryKey(String bbId, String time);
	
	/**
	 */
	public Set<Bbevent> findBbeventByDate(String bbId,String startTime,String endTime);

	/**
	 * Return all Bbevent entity
	 * 
	 */
	public List<Bbevent> findAllBbevents(Integer startResult, Integer maxRows);
}